package com.imooc.service;


import com.imooc.bo.VlogBo;
import com.imooc.utils.PagedGridResult;
import com.imooc.vo.IndexVlogVO;

import java.util.List;

public interface VlogService {

    /**
     * 创建视频
     */
    public void createVlog(VlogBo vlogBo);

    /**
     *
     * 搜索视频/模糊查询
     */
    public PagedGridResult getIndexVlogList(String search,Integer page,Integer pageSize);


    /**
     * 根据VlogID 查询视频详情
     */
    public IndexVlogVO getVlogDetailById(String vlogId);


    /**
     *  将视频公开转为私密
     */
    public  void changeToPrivate(String userId,String vlogId, Integer yseOn);
}
